{counter start=0 skip=1 print=false assign=count}
<form id="form1" method="post" action="">
    <input type="hidden" name="guardar" value="1" />
    <table>
        <tr class="headtr">
            <th>Clasificacion</th>
            <th colspan="2">Pregunta</th>
            <th>Observaciones</th>
        </tr>
        {foreach item=gr from=$datos}
            {$nombre = $gr.nombre}
            <tr class="headtr">
                <th rowspan="{count($gr)}"><u>{$nombre}</u></th>
                <th colspan="3"></th>
            </tr>
            {foreach item=preg from=$gr}
            
            {if isset($preg.pregunta)}
                <tr>
                    
                    <td class="izq">
                        <label><input name="res_{$count}" type="radio" value="1"/>SI</label>
                        <label><input name="res_{$count}" type="radio" value="0" checked="" />NO</label>
                    </td>
                    <td class="izq">
                        <input name="preg_{$count}" value="{$count}" type="hidden" />
                        <strong>{$preg.pregunta}</strong>
                    </td>
                    <td><textarea name="observaciones_{$count}" rows="5" cols="100" ></textarea></td>
                </tr>
                {counter print=false}        
            {/if}
            {/foreach}
        {/foreach}
        <tr class="headtr"><td colspan="4"><input type="submit" class="button" value="Guardar" /></td></tr>
    </table>
</form>